package com.tanhua.server.service;

import com.tanhua.server.pojo.User;
import com.tanhua.server.vo.Movements;
import com.tanhua.server.vo.PageResult;
import com.tanhua.server.vo.VisitorsVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author 西楚霸王
 * @date 2020/11/23 20:43
 */
public interface MovementsService {
    String saveMovements(String textContent, String location, String longitude, String latitude, MultipartFile[] multipartFile);

    PageResult queryPublishList(User user,Integer page, Integer pageSize);

    PageResult queryRecommendPublishList(Integer page, Integer pageSize);

    PageResult queryUserPublishList(Integer page, Integer pageSize);

    Long likeComment(String publishId);

    Long disLikeComment(String publishId);

    Long loveComment(String publishId);

    Long unLoveComment(String publishId);

    Movements queryMovementsById(String publishId);

    List<VisitorsVo> queryVisitorsList();

    PageResult queryAlbumList(Long uesrId, Integer page, Integer pageSize);
}
